package com.imooc.product.util;

import com.imooc.product.VO.ResultVo;

/**
 * Created by hu on 2020/1/6.
 */
public class ResultVOUtils {

    public static final ResultVo success(Object o){
        ResultVo vo = new ResultVo();
        vo.setData(o);
        vo.setCode(0);
        vo.setMsg("成功");
        return vo;
    }
}
